 <%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 
	<div class="not_right" >
		<div class="not_righttitle">
			<div class="not_righttitle01"> <a href="#">职业规划</a> <a href="#"> </a> </div>
			
			<!--职业规划文档-->
			<div class="plan_rightbody">
				<c:forEach items="${plannings}" var="planning">
					<div class="plan_rightlist">
						<div class="plan_rightlistpic"> <img src="../images/pdficon.png"> </div>
						<a href="/drmdown/${planning['planning_id']}?fnm=${planning['plan_name']}" onclick="downloadCareer('${planning['id']}')">
						<div class="plan_rightlisttitle">${planning['plan_name']}</div>
						</a>
						<div class="plan_rightlistact"> BY: <a href="#" style="color:#275D7E"> ${planning['teacher_name']} </a> </div>
						<a href="/drmdown/${planning['planning_id']}?fnm=${planning['plan_name']}" onclick="downloadCareer('${planning['id']}')"> 
						<div class="plan_rightlistload"> 下载 </div>
						</a> </div>
				</c:forEach>
				<!-- <div class="plan_rightlist">
					<div class="plan_rightlistpic"> <img src="../images/pdficon.png"> </div>
					<a href="#">
					<div class="plan_rightlisttitle">苏菲的职业生涯规划文档</div>
					</a>
					<div class="plan_rightlistact"> BY: <a href="#" style="color:#275D7E"> 杨老师 </a> </div>
					<a href="#">
					<div class="plan_rightlistload"> 下载 </div>
					</a> </div>	 -->			
			</div>
			
			<!--end职业规划文档--> 
			
		</div> 
		
 
		
		
		
	</div>  
	</div> 
<script type="text/javascript">
function downloadCareer(careerid){
	//下载数增加1
	$.ajax({
      	 url : '/teacher/career/download_carrer/'+careerid,
      	 dataType : 'json',
      	 success : function(d,status){
      		
      	 }
   });
}
</script>
